import time
print(time.localtime())
print(time.strftime("%Y-%m-%d %H:%S:%M",time.localtime()))